package com.ruoyi.project.cms.content.service;

import com.ruoyi.project.cms.content.domain.CmsContent;
import com.ruoyi.project.cms.content.domain.ContentVo;

import java.util.List;

/**
 * @program: zhizun
 * @author: Mrs.ye
 * @create: 2020-09-16 10:04
 * @description: 公告内容的service层
 **/
public interface IContentService {
    /**
     * 查询所有的content对象
     * @param cmsContent 条件查询--只通过contentTitle进行条件查询,只要保证contentTitle有值即可
     * @return
     */
    List<ContentVo> selectContentList(CmsContent cmsContent);

    /**
     * 添加公告内容业务代码
     * @param cmsContent
     * @return
     */
    int insertContent(CmsContent cmsContent);

    int deleteContentByIds(Long[] ids);

    CmsContent selectContentById(Long contentId);

}
